#ifndef GOLOMB_H_
#define GOLOMB_H_

#include "invocation.h"
#include "analyzer.h"
#include "coder.h"
#include <string>

class Golomb
{
private:
	Analyzer analyzer;
	Coder coder;
	std::string tmpPath;

	void encode(std::string& in, std::string& out, int& M, int& W);
	void decode(std::string& in, std::string& out, int& M, int& W);
public:
	Golomb(Invocation args);
};

void onExit(int sig);

#endif /* GOLOMB_H_ */
